package service.impl;

import java.util.List;

import pojo.Categories;
import service.CategoriesManager;
import dao.CategoriesDao;
import dao.impl.CategoriesDaoImpl;

public class CategoriesManagerImpl implements CategoriesManager {
	private CategoriesDao categoriesDao;
	
	public CategoriesManagerImpl() {
		super();
		categoriesDao = new CategoriesDaoImpl();
	}

	@Override
	public List<Categories> findAll() {
		return categoriesDao.findAll();
	}

	@Override
	public Categories load(String id) {
		return categoriesDao.load(id);
	}
}
